<ui:composition template="/admin/templates/ui2.xhtml"
	xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:composite="http://java.sun.com/jsf/composite/primefaces"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui" xmlns:o="http://omnifaces.org/ui"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	xmlns:archer="http://java.sun.com/jsf/archer"
	xmlns:c="http://java.sun.com/jsp/jstl/core">

	<ui:define name="content">
	<style>
		.headline{
    background: #ffeeff;
    color: #000000;
    min-width: 1024px;
    text-align: left;
    font-weight: bolder;
    font-size: 1.2em;
    line-height: 50px;
    }
    
    	.actionlabel {
    background: #ffccff;
    color: #000000;
    min-width: 1024px;
    text-align: center;
    font-weight: bolder;
    font-size: 1.2em;
    line-height: 25px;
	}
		
		.buttonx{
		border:none; 
		color:#ffffff; 
		padding:0 26px; 
		background:#ff0066; 
		border-radius:5px; 
		margin:0 7px; 
		font-weight: bolder;
   		font-size: 1.1em;
	}
		.buttonxx{
		border:none; 
		color:#ff0066; 
		padding:0 26px; 
		background:#ffffff; 
		border-radius:5px; 
		margin:0 7px; 
		font-weight: bolder;
   		font-size: 1.1em;
	}	
		.upbuttonx{
		border:none; 
		color:#ffffff; 
		padding:0 26px; 
		background:#ff0066; 
		border-radius:5px; 
		margin:0 7px; 
		font-weight: bolder;
   		font-size: 1.4em;
   		height:30px;
	}
		.upbuttonxx{
		color:#ff0066; 
		padding:0 26px; 
		background:#ffffff; 
		border-radius:5px; 
		border-color:#ff0066; 
		margin:0 7px; 
		font-weight: bolder;
   		font-size: 1.1em;
   		height:30px;
	}
	</style>
	
	<script type="text/javascript">
		function isGreenHand(){
			if(document.getElementById('form:loanInfox').value=='1'){
				document.getElementById('form:maxx').value=10000;
			}
			else{
				document.getElementById('form:maxx').value=99999999;
			}
		}
		
		function totalMoney(){
			
		}
	</script>
	
	<f:event type="preRenderComponent" listener="#{loanAdminHome.setUserId(loginUserInfo.loginUserId)}"></f:event>
		<div class="entry">
			<p:toolbar styleClass="admin-nav-toolbar">
				<p:toolbarGroup>
					<h:outputLabel value="#{commonMsg.currentPositionLabel} 添加借款项目"></h:outputLabel>
				</p:toolbarGroup>
				<p:toolbarGroup align="right">
					<p:separator />
					<p:button outcome="/admin/loan/loanList" value="借款项目管理"></p:button>
				</p:toolbarGroup>
			</p:toolbar>
			<p:spacer></p:spacer>
			<h:form id="form">
				<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160;
				借款项目基本信息</h:panelGrid>
				<br/>
				<br/>
				<h:panelGrid columns="6" columnClasses="col2,col2" style="text-align: left;">
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="借款项目名称"></h:outputLabel>
					</ui:fragment>
					<h:inputText value="#{loanAdminHome.instance.name}" required="true"
						label="借款项目名称" maxlength="50">
						
					</h:inputText>
					
					<ui:fragment>
					</ui:fragment><ui:fragment>
					</ui:fragment><ui:fragment>
					</ui:fragment><ui:fragment>
					</ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>	
					<h:outputLabel value="借款用户"></h:outputLabel>
					</ui:fragment>
					<p:autoComplete value="#{loanAdminHome.instance.user}" 
						title="输入用户名自动检索用户，请在检索结果中选择用户" emptyMessage="未搜索到用户"
						minQueryLength="2" required="true" label="借款用户"
						completeMethod="#{userList.queryUsersByUserName}"
						forceSelection="true" var="u" itemLabel="#{u.username}"
						itemValue="#{u}" converter="archer.EntityConverter">
						<p:ajax event="itemSelect" update="overmoney username realname idcard age sex" />
					</p:autoComplete>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="账户余额"></h:outputLabel>
					</ui:fragment>
					<ui:fragment>
						<h:outputLabel id="overmoney" 
							value="#{userBillHome.getBalanceByUserId(loanAdminHome.instance.user.id)}" style="color:#000000;">
							<f:convertNumber minIntegerDigits="1" minFractionDigits="2"/>
						</h:outputLabel>
						<h:outputLabel value="元" style="color:#000000;"></h:outputLabel>
					</ui:fragment>
					<ui:fragment></ui:fragment><ui:fragment></ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="标的种类"></h:outputLabel>
					</ui:fragment>
					<h:selectOneMenu value="#{loanAdminHome.instance.loanInfoType}" required="true"
						styleClass="lx" id="loanInfox" onchange="isGreenHand()">
						<f:selectItem itemLabel="-- 请选择标的种类--" itemValue=""
								noSelectionOption="true"  />
						<f:selectItems var="ub" value="#{dictUtil.getDictByParentKey('loaninfotype')}"
                    		itemValue="#{ub.key}" itemLabel="#{ub.value}"/>
                    	<f:ajax execute="@this" render="loanType couponx deadlineUnit scopex safex costx endx advancex clarity carloan euroCup"></f:ajax>
					</h:selectOneMenu>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="还款方式"></h:outputLabel>
					</ui:fragment>
					<h:panelGroup id="loanType">
						<h:selectOneMenu value="#{loanAdminHome.instance.type}" required="true"
							converter="archer.EntityConverter" label="标的类型"  style="width: 275px;">
							<f:selectItem itemLabel="-- 请选择标的类型 --" itemValue=""
								noSelectionOption="true"  />
							<f:selectItems value="#{loanTypeList.getLoanTypes(loanAdminHome.instance.loanInfoType)}" var="type"
								itemLabel="#{type.name}" itemValue="#{type}"/>
							<f:ajax execute="@this" render="loanType deadlineUnit" event="change"></f:ajax>
						</h:selectOneMenu>
						<!-- #{loanAdminHome.instance.type.description} -->
					</h:panelGroup>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="借款期限"></h:outputLabel>
					</ui:fragment>
					<ui:fragment>
						<h:inputText value="#{loanAdminHome.instance.deadline}" label="借款期限"
							required="true" styleClass="lx">
							
							<f:validateLongRange minimum="1"></f:validateLongRange>
							
<!-- 							<f:ajax execute="@this" render="fee" event="change"></f:ajax> -->
						</h:inputText>
						<h:panelGroup id="deadlineUnit">
								<h:outputText value="#{dictUtil.getValue('repay_unit',loanAdminHome.instance.type.repayTimeUnit)}"></h:outputText>
								&#160;&#160;<h:outputText value="(单位：#{loanAdminHome.instance.type.repayTimePeriod}#{dictUtil.getValue('repay_unit',loanAdminHome.instance.type.repayTimeUnit)})"></h:outputText>
						</h:panelGroup>
					 </ui:fragment>
					
					<!-- 
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="借款产品"></h:outputLabel>
					</ui:fragment>
					<h:panelGroup id="systemLoanType">
						<h:selectOneMenu value="#{loanAdminHome.instance.systemLoanType}" required="true"
							converter="archer.EntityConverter" label="借款产品"  style="width: 150px;">
							<f:selectItem itemLabel=" 请选择借款产品 " itemValue=""
								noSelectionOption="true"  />
							<f:selectItems value="#{systemLoanTypeList.listInUse}" var="t"
								itemLabel="#{t.name}" itemValue="#{t}"/>
							<f:ajax execute="@this" render="loanfee" event="change"></f:ajax>
							
						</h:selectOneMenu>
						#{loanAdminHome.instance.type.description}
					</h:panelGroup> -->
					
					
			<!-- =========================================================================== -->
					
					
					
					 
					 <ui:fragment>
					 &#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="预计借款金额（元）"></h:outputLabel>
					</ui:fragment>
					<ui:fragment>
						<h:inputText id="loanMoney" value="#{loanAdminHome.instance.loanMoney}"
							label="预计借款金额" required="true">
 							<f:ajax execute="@this" render="loanMoney" event="change"></f:ajax>
							<f:validateDoubleRange minimum="1" maximum="#{10000*10000}"></f:validateDoubleRange>
							<f:convertNumber minIntegerDigits="1" maxFractionDigits="2" />
						</h:inputText>
						
					</ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="借款利率(%)"></h:outputLabel>
					</ui:fragment>
					<h:inputText required="true" label="借款利率" value="#{loanAdminHome.instance.ratePercent}"
						styleClass="rate">
<!-- 						<f:ajax execute="@this" render="fee" event="change"></f:ajax> -->
						<f:validateDoubleRange minimum="0.01"></f:validateDoubleRange>
					</h:inputText>
					
<!-- 					<h:panelGroup id="zhrate"> -->
<!-- 						<h:panelGroup rendered="#{loanAdminHome.instance.loanInfoType == '4' or loanAdminHome.instance.loanInfoType == '5'}"> -->
<!-- 							<h:panelGroup rendered="#{loanAdminHome.instance.type.id == 'loan_type_2'}"> -->
<!-- 								<ui:fragment> -->
<!-- 									&#160;&#160;&#160;&#160;&#160; -->
<!-- 									<span style="color: red;">*</span> -->
<!-- 									<h:outputLabel value="综合费率(%)"></h:outputLabel> -->
<!-- 								</ui:fragment> -->
<!-- 							</h:panelGroup> -->
<!-- 						</h:panelGroup> -->
<!-- 						<h:panelGroup rendered="#{loanAdminHome.instance.loanInfoType == '6'}"> -->
<!-- 							<h:panelGroup rendered="#{loanAdminHome.instance.type.repayType == 'rlio'}"> -->
<!-- 								<ui:fragment> -->
<!-- 									&#160;&#160;&#160;&#160;&#160; -->
<!-- 									<span style="color: red;">*</span> -->
<!-- 									<h:outputLabel value="综合费率(%)"></h:outputLabel> -->
<!-- 								</ui:fragment> -->
<!-- 							</h:panelGroup> -->
<!-- 						</h:panelGroup> -->
<!-- 					</h:panelGroup> -->
					
<!-- 					<h:panelGroup id="zhrate1"> -->
<!-- 						<h:panelGroup rendered="#{loanAdminHome.instance.loanInfoType == '4' or loanAdminHome.instance.loanInfoType == '5'}"> -->
<!-- 							<h:panelGroup rendered="#{loanAdminHome.instance.type.id == 'loan_type_2'}"> -->
					
<!-- 								<h:inputText required="true" label="综合费率" value="#{loanAdminHome.instance.zhRatePercent}" -->
<!-- 									styleClass="rate"> -->
<!-- 									<f:ajax execute="@this" render="fee" event="change"></f:ajax> -->
<!-- 								</h:inputText> -->
<!-- 							</h:panelGroup> -->
<!-- 						</h:panelGroup> -->
						
<!-- 						<h:panelGroup rendered="#{loanAdminHome.instance.loanInfoType == '6'}"> -->
<!-- 							<h:panelGroup rendered="#{loanAdminHome.instance.type.repayType == 'rlio'}"> -->
					
<!-- 								<h:inputText required="true" label="综合费率" value="#{loanAdminHome.instance.zhRatePercent}" -->
<!-- 									styleClass="rate"> -->
<!-- 									<f:ajax execute="@this" render="fee" event="change"></f:ajax> -->
<!-- 								</h:inputText> -->
<!-- 							</h:panelGroup> -->
<!-- 						</h:panelGroup> -->
<!-- 					</h:panelGroup> -->
					
					<!-- <ui:fragment></ui:fragment><ui:fragment></ui:fragment> -->
										
				<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="预计放款时间"></h:outputLabel>
				</ui:fragment>
				<ui:fragment>
					<p:calendar value="#{loanAdminHome.instance.expectTime}" required="true" label="预计执行时间"
						pattern="yyyy-MM-dd HH:mm:ss" timeZone="GMT+8" navigator="true"
						showButtonPanel="true" > 
					</p:calendar>
				</ui:fragment>
					
					</h:panelGrid>
					<h:panelGrid columns="4" columnClasses="col2,col2" style="text-align: left;">
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="借款描述"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputTextarea value="#{loanAdminHome.instance.loanPurpose}"
						style="width:450px;height: 60px;" required="true" label="借款描述"></h:inputTextarea>
						
				</h:panelGrid>
				<br/>
				<br/>
				
				
				
				
	<!-- 借     款     费     用     详     细     信     息   -->			
				
<!-- 			<h:panelGroup id="fee"> -->
<!-- 				<h:panelGroup rendered="#{not empty loanAdminHome.instance.loanMoney and not empty loanAdminHome.instance.deadline and not empty loanAdminHome.instance.ratePercent and not empty loanAdminHome.instance.zhRatePercent and loanAdminHome.instance.zhRatePercent !=0}"> -->
<!-- 				<h:panelGroup rendered="#{loanAdminHome.instance.loanInfoType == '4' or loanAdminHome.instance.loanInfoType == '5'}"> -->
<!-- 				<h:panelGroup rendered="#{loanAdminHome.instance.type.id == 'loan_type_2'}"> -->
				
				
				
<!-- 					<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160; -->
<!-- 						借款费用详细信息</h:panelGrid> -->
				
<!-- 				<br/> -->
<!-- 				<br/> -->
<!-- 					<div id="form:loanfee" class="ui-datatable ui-widget" style="width:780pt"> -->
<!-- 						<div class="ui-datatable-tablewrapper"> -->
<!-- 						<table role="grid"> -->
<!-- 							<thead id="form:loanfee_head"> -->
<!-- 							<tr role="row"> -->
<!-- 								<th id="form:loanfee:j_idt237" class="ui-state-default" role="columnheader"> -->
<!-- 									<span>费用名称</span> -->
<!-- 								</th> -->
<!-- 								<th id="form:loanfee:j_idt240" class="ui-state-default" role="columnheader"> -->
<!-- 									<span>费用类型(比例/固定)</span> -->
<!-- 								</th> -->
<!-- 								<th id="form:loanfee:j_idt243" class="ui-state-default" role="columnheader"> -->
<!-- 									<span>合计费用(单位：元)</span> -->
<!-- 								</th> -->
<!-- 							</tr> -->
<!-- 							</thead> -->
<!-- 							<tfoot></tfoot> -->
<!-- 							<tbody id="form:loanfee_data" class="ui-datatable-data ui-widget-content"> -->
<!-- 							<tr data-ri="0" class="ui-widget-content ui-datatable-even" role="row"> -->
<!-- 								<td role="gridcell">服务费</td> -->
<!-- 								<td role="gridcell">比例</td> -->
<!-- 								<td role="gridcell">#{loanAdminHome.serviceFee(loanAdminHome.instance.loanMoney,loanAdminHome.instance.ratePercent,loanAdminHome.instance.zhRatePercent,loanAdminHome.instance.deadline,loanAdminHome.instance.type.id)}</td> -->
<!-- 							</tr> -->
<!-- 							</tbody> -->
<!-- 						</table> -->
<!-- 						</div> -->
<!-- 					</div> -->
					
					
					
					
					
<!-- 					</h:panelGroup> -->
<!-- 					</h:panelGroup> -->
					
<!-- 					<h:panelGroup rendered="#{loanAdminHome.instance.loanInfoType == '6'}"> -->
<!-- 				<h:panelGroup rendered="#{loanAdminHome.instance.type.repayType == 'rlio'}"> -->
				
				
				
<!-- 					<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160; -->
<!-- 						借款费用详细信息</h:panelGrid> -->
				
<!-- 				<br/> -->
<!-- 				<br/> -->
<!-- 					<div id="form:loanfee" class="ui-datatable ui-widget" style="width:780pt"> -->
<!-- 						<div class="ui-datatable-tablewrapper"> -->
<!-- 						<table role="grid"> -->
<!-- 							<thead id="form:loanfee_head"> -->
<!-- 							<tr role="row"> -->
<!-- 								<th id="form:loanfee:j_idt237" class="ui-state-default" role="columnheader"> -->
<!-- 									<span>费用名称</span> -->
<!-- 								</th> -->
<!-- 								<th id="form:loanfee:j_idt240" class="ui-state-default" role="columnheader"> -->
<!-- 									<span>费用类型(比例/固定)</span> -->
<!-- 								</th> -->
<!-- 								<th id="form:loanfee:j_idt243" class="ui-state-default" role="columnheader"> -->
<!-- 									<span>合计费用(单位：元)</span> -->
<!-- 								</th> -->
<!-- 							</tr> -->
<!-- 							</thead> -->
<!-- 							<tfoot></tfoot> -->
<!-- 							<tbody id="form:loanfee_data" class="ui-datatable-data ui-widget-content"> -->
<!-- 							<tr data-ri="0" class="ui-widget-content ui-datatable-even" role="row"> -->
<!-- 								<td role="gridcell">服务费</td> -->
<!-- 								<td role="gridcell">比例</td> -->
<!-- 								<td role="gridcell">#{loanAdminHome.serviceFee(loanAdminHome.instance.loanMoney,loanAdminHome.instance.ratePercent,loanAdminHome.instance.zhRatePercent,loanAdminHome.instance.deadline,loanAdminHome.instance.type.id)}</td> -->
<!-- 							</tr> -->
<!-- 							</tbody> -->
<!-- 						</table> -->
<!-- 						</div> -->
<!-- 					</div> -->
					
					
					
					
					
<!-- 					</h:panelGroup> -->
<!-- 					</h:panelGroup> -->
<!-- 					</h:panelGroup> -->
<!-- 				</h:panelGroup> -->
						
				
				 
				
				
<!-- 					<br/> -->
<!-- 					<br/> -->
			
								
				
				
	<!-- 借     款     项     目     详     细     信     息   -->			
				
				
				<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160;
				借款项目详细信息</h:panelGrid>
				
				<br/>
				<br/>
				<h:panelGrid columns="6" columnClasses="col2,col2" style="text-align: left;">
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="最小投资金额（元）"></h:outputLabel>
					</ui:fragment>
					<h:inputText required="true" label="最小投资金额" id="min"
						value="#{loanAdminHome.instance.minInvestMoney}" onchange="document.getElementById('form:cardinal').value=document.getElementById('form:min').value">
						<f:validateDoubleRange minimum="1"></f:validateDoubleRange>
					</h:inputText>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="投资递增金额（元）"></h:outputLabel>
					</ui:fragment>
					<h:inputText required="true" label="投资递增金额" id="cardinal"
						value="#{loanAdminHome.instance.cardinalNumber}">
						
						<f:validateDoubleRange minimum="1"></f:validateDoubleRange>
					</h:inputText>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="单笔最大投资金额（元）"></h:outputLabel>
					</ui:fragment>
					<h:inputText required="true" label="单笔最大投资金额"
						value="#{loanAdminHome.instance.maxInvestMoney}" id="maxx">
						
						<f:validateDoubleRange minimum="1"></f:validateDoubleRange>
						<f:convertNumber />
					</h:inputText>
					
					 <ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="合同"></h:outputLabel>
					</ui:fragment>
					<h:selectOneMenu value="#{loanAdminHome.instance.contractType}"
						styleClass="lx">
						<f:selectItems value="#{nodeList.getNodes('contract',10000).data}"
							var="node" itemLabel="#{node.title}" itemValue="#{node.id}" />
					</h:selectOneMenu>
					
					 <ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="债权合同"></h:outputLabel>
					</ui:fragment>
					<h:selectOneMenu value="#{loanAdminHome.instance.transferType}"
						styleClass="lx">
						<f:selectItems value="#{nodeList.getNodes('transfer',10000).data}"
							var="transfer" itemLabel="#{transfer.title}" itemValue="#{transfer.id}" />
					</h:selectOneMenu>
					<ui:fragment></ui:fragment><ui:fragment></ui:fragment>
				
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="风险等级"></h:outputLabel>
					</ui:fragment>
					<h:selectOneMenu value="#{loanAdminHome.instance.riskLevel}">
						<f:selectItems value="#{riskRankList.allResultList}" var="risk"
							itemLabel="#{risk.rank}" itemValue="#{risk.rank}" />
					</h:selectOneMenu>
					 
					 <ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="项目类型"></h:outputLabel>
					</ui:fragment>
					<h:selectOneMenu value="#{loanAdminHome.instance.businessType}"
						styleClass="lx">
						<f:selectItems var="ub" value="#{dictUtil.getDictByParentKey('business_type')}"
                    		itemValue="#{ub.key}" itemLabel="#{ub.value}"/>
					</h:selectOneMenu>
					<ui:fragment></ui:fragment>
					<ui:fragment></ui:fragment>
					
					 <ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="使用红包投资"></h:outputLabel>
					</ui:fragment>
					<h:panelGroup id="couponx">
					<p:selectBooleanButton offLabel="不可以" onLabel="可以" value="#{loanAdminHome.instance.canUseCoupon}" disabled="true" 
					rendered="#{not empty loanAdminHome.instance.loanInfoType and loanAdminHome.instance.loanInfoType != '0'
					and loanAdminHome.instance.loanInfoType != '4' and loanAdminHome.instance.loanInfoType != '5' and loanAdminHome.instance.loanInfoType != '6'}"/>
					<p:selectBooleanButton offLabel="不可以" onLabel="可以" value="#{loanAdminHome.instance.canUseCoupon}" 
					rendered="#{empty loanAdminHome.instance.loanInfoType or loanAdminHome.instance.loanInfoType == '0' 
					or loanAdminHome.instance.loanInfoType == '4' or loanAdminHome.instance.loanInfoType == '5' or loanAdminHome.instance.loanInfoType == '6'}"/>
					</h:panelGroup>
					<ui:fragment></ui:fragment>
					<ui:fragment></ui:fragment>
					<ui:fragment></ui:fragment>
					<ui:fragment></ui:fragment>
				</h:panelGrid>
				<!-- <h:panelGrid columns="3" columnClasses="col2,col2">
					 <ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="开始计息时间"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<ui:fragment>
						<p:calendar value="#{loanAdminHome.instance.interestBeginTime}"
							pattern="yyyy-MM-dd HH:mm:ss" timeZone="GMT+8" navigator="true"
							showButtonPanel="true">
						</p:calendar>
					</ui:fragment>
					<ui:fragment>&#160;&#160;&#160;&#160;&#160;如不填写，默认为放款当天；如在放款之前计算预计利息，
					请填写为预计执行时间</ui:fragment>
				</h:panelGrid> -->
				<h:panelGrid columns="2" columnClasses="col2,col2">
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="投标范围"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<ui:fragment>
					<h:panelGroup id="scopex">
					<h:outputText escape="false"
						value="#{loanAdminUtil.getMes('scope',loanAdminHome.instance.loanInfoType)}" style="color: #000000;">
					</h:outputText>
					</h:panelGroup>
					</ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="保障方式"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<ui:fragment>
					<h:panelGroup id="safex">
					<h:outputText  escape="false"
						value="#{loanAdminUtil.getMes('safeGuard',loanAdminHome.instance.loanInfoType)}" style="color: #000000;">
					</h:outputText>
					</h:panelGroup>
					</ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="费用"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<ui:fragment>
					<h:panelGroup id="costx">
					<h:outputText  escape="false"
						value="#{loanAdminUtil.getMes('cost',loanAdminHome.instance.loanInfoType)}" style="color: #000000;">
					</h:outputText>
					</h:panelGroup>
					</ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="到期退出方式"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<ui:fragment>
					<h:panelGroup id="endx">
					<h:outputText  escape="false"
						value="#{loanAdminUtil.getMes('endExit',loanAdminHome.instance.loanInfoType)}" style="color: #000000;">
					</h:outputText>
					</h:panelGroup>
					</ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="提前退出方式"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<ui:fragment>
					<h:panelGroup id="advancex">
					<h:outputText  escape="false"
						value="#{loanAdminUtil.getMes('advanceExit',loanAdminHome.instance.loanInfoType)}" style="color: #000000;">
					</h:outputText>
					</h:panelGroup>
					</ui:fragment>
					</h:panelGrid>
					
					<br/>
				<br/>
				
				
	
				
					
					
		<!--     散    标    详    情        -->
		
		
		
		
				<h:panelGroup id="clarity">
				<h:panelGroup id="clarityx" rendered="#{loanAdminHome.instance.loanInfoType == '4' or loanAdminHome.instance.loanInfoType == '5'}">
					<br/>
					<br/>
				<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160;
				借款人基本信息</h:panelGrid>
				<br/>
				<br/>
				<h:panelGrid columns="6" columnClasses="col2,col2" style="text-align: left;">
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="用户名"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment> 
					<h:inputText required="true" label="用户名" id="username" 
						value="#{loanAdminHome.instance.user.username}" maxlength="25">
					</h:inputText>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="真实姓名"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="真实姓名" id="realname" 
						value="#{loanAdminHome.instance.user.realname}" maxlength="25">
					</h:inputText>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="身份证号码"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="身份证号码" id="idcard" 
						value="#{loanAdminHome.instance.user.idCard}" maxlength="25">
					</h:inputText>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="性别"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio id="sex" value="#{loanAdminHome.ext.sex}" required="true" label="性别">
   						<f:selectItem itemLabel="男" itemValue="0"/>
   						<f:selectItem itemLabel="女" itemValue="1"/>
 					</h:selectOneRadio>
					
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="年龄"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="年龄" id="age"
						value="#{loanAdminHome.ext.age}">
						
						<f:validateLongRange maximum="120" minimum="0"/>
					</h:inputText>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="学历"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneMenu  value="#{loanAdminHome.ext.education}"  label="学历" required="true">
						<f:selectItem itemLabel=" -- 请选择学历 -- " />
						<f:selectItem itemLabel="初中" itemValue="0"/>
						<f:selectItem itemLabel="中技" itemValue="1"/>
						<f:selectItem itemLabel="高中" itemValue="2"/>
						<f:selectItem itemLabel="中专" itemValue="3"/>
						<f:selectItem itemLabel="大专" itemValue="4"/>
						<f:selectItem itemLabel="本科" itemValue="5"/>
						<f:selectItem itemLabel="硕士" itemValue="6"/>
						<f:selectItem itemLabel="博士" itemValue="7"/>
					</h:selectOneMenu>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="婚姻状况"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.ext.isMarried}" label="婚姻状况">
   						<f:selectItem itemLabel="未婚" itemValue="0"/>
   						<f:selectItem itemLabel="已婚" itemValue="1"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="有无子女"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.ext.hasChild}" label="有无子女">
   						<f:selectItem itemLabel="无" itemValue="0"/>
   						<f:selectItem itemLabel="有" itemValue="1"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="户口所在地"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText label="户口所在地" value="#{loanAdminHome.ext.residence}" maxlength="25">
					</h:inputText>
					</h:panelGrid>
					<br/>
					<br/>
					
					<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160;
				借款人资产信息</h:panelGrid>
				<br/>
				<br/>
				<h:panelGrid columns="6" columnClasses="col2,col2" style="text-align: left;">
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="收入范围"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneMenu  value="#{loanAdminHome.ext.income}"  label="收入范围" required="true">
						<f:selectItem itemLabel=" -- 请选择收入范围 -- " />
						<f:selectItem itemLabel="2000元以下" itemValue="0"/>
						<f:selectItem itemLabel="2000-3000元" itemValue="1"/>
						<f:selectItem itemLabel="3000-5000元" itemValue="2"/>
						<f:selectItem itemLabel="5000-8000元" itemValue="3"/>
						<f:selectItem itemLabel="8000-12000元" itemValue="4"/>
						<f:selectItem itemLabel="12000元以上" itemValue="5"/>
					</h:selectOneMenu>
				
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="养老保险"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.ext.endowmentInsurance}" label="养老保险">
   						<f:selectItem itemLabel="无" itemValue="0"/>
   						<f:selectItem itemLabel="有" itemValue="1"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="人寿保险"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.ext.lifeInsurance}" label="人寿保险">
   						<f:selectItem itemLabel="无" itemValue="0"/>
   						<f:selectItem itemLabel="有" itemValue="1"/>
 					</h:selectOneRadio>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="房产"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.ext.hasHouse}" label="房产">
   						<f:selectItem itemLabel="无" itemValue="0"/>
   						<f:selectItem itemLabel="有" itemValue="1"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="房贷"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.ext.hasHouseLoan}" label="房贷">
   						<f:selectItem itemLabel="无" itemValue="0"/>
   						<f:selectItem itemLabel="有" itemValue="1"/>
 					</h:selectOneRadio>
 					<ui:fragment></ui:fragment>
					<ui:fragment></ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="车产"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.ext.hasCar}" label="车产">
   						<f:selectItem itemLabel="无" itemValue="0"/>
   						<f:selectItem itemLabel="有" itemValue="1"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="车贷"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.ext.hasCarLoan}" label="车贷">
   						<f:selectItem itemLabel="无" itemValue="0"/>
   						<f:selectItem itemLabel="有" itemValue="1"/>
 					</h:selectOneRadio>
 					<ui:fragment></ui:fragment>
					<ui:fragment></ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="信用卡"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.ext.hasCreditCard}" label="信用卡">
   						<f:selectItem itemLabel="无" itemValue="0"/>
   						<f:selectItem itemLabel="有" itemValue="1"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="信用卡额度"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<ui:fragment>
					<h:inputText label="信用卡额度" value="#{loanAdminHome.ext.creditLine}" maxlength="25">
						
						<archer:validateNumber precision="2"></archer:validateNumber>
						<f:validateDoubleRange minimum="0"></f:validateDoubleRange>
					</h:inputText><h:outputText value="元">
					</h:outputText>
					</ui:fragment>
 					<ui:fragment></ui:fragment>
					<ui:fragment></ui:fragment>
				</h:panelGrid>
				
				<br/>
				<br/>
					
					<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160;
				借款人工作信息</h:panelGrid>
				<br/>
				<br/>
				<h:panelGrid columns="6" columnClasses="col2,col2" style="text-align: left;">
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="公司行业"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="公司行业"
						value="#{loanAdminHome.ext.industry}" maxlength="25">
					</h:inputText>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="公司规模"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="公司规模"
						value="#{loanAdminHome.ext.companyScale}" maxlength="25">
					</h:inputText>
					<ui:fragment></ui:fragment>
					<ui:fragment></ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="工作城市"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="工作城市"
						value="#{loanAdminHome.ext.workCity}" maxlength="25">
					</h:inputText>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="工作年限（年）"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="工作年限"
						value="#{loanAdminHome.ext.workYears}" maxlength="3">
						
						<f:validateLongRange minimum="0" maximum="120"></f:validateLongRange>
					</h:inputText>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="岗位职责"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="岗位职责"
						value="#{loanAdminHome.ext.responsibilities}"  maxlength="25">
					</h:inputText>
				</h:panelGrid>
				
				<br/>
				<br/>
<!-- 					// 信用信息验证注释掉2017.3.7 modify by 董  ;张凌捷要求的 -->
<!-- 					<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160; -->
<!-- 				借款人信用状况</h:panelGrid> -->
<!-- 				<br/> -->
<!-- 				<br/> -->
<!-- 				<h:panelGrid columns="6" columnClasses="col2,col2" style="text-align: left;"> -->
<!-- 					<ui:fragment> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					<span style="color: red;">*</span> -->
<!-- 					<h:outputLabel value="发布借款"></h:outputLabel> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					</ui:fragment> -->
<!-- 					<ui:fragment> -->
<!-- 					<h:inputText label="发布借款" value="#{loanAdminHome.ext.issuedNum}" required="true"> -->
						
<!-- 						<f:validateLongRange minimum="0" maximum="9999"/> -->
<!-- 					</h:inputText><h:outputText value="笔"> -->
<!-- 					</h:outputText> -->
<!-- 					</ui:fragment> -->
					
<!-- 					<ui:fragment> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					<span style="color: red;">*</span> -->
<!-- 					<h:outputLabel value="成功借款"></h:outputLabel> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					</ui:fragment> -->
<!-- 					<ui:fragment> -->
<!-- 					<h:inputText label="成功借款" value="#{loanAdminHome.ext.successNum}" required="true"> -->
						
<!-- 						<f:validateLongRange  minimum="0" maximum="9999"/> -->
<!-- 					</h:inputText><h:outputText value="笔"> -->
<!-- 					</h:outputText> -->
<!-- 					</ui:fragment> -->
					
<!-- 					<ui:fragment> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					<span style="color: red;">*</span> -->
<!-- 					<h:outputLabel value="还清笔数"></h:outputLabel> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					</ui:fragment> -->
<!-- 					<ui:fragment> -->
<!-- 					<h:inputText label="还清笔数" value="#{loanAdminHome.ext.payoffNum}" required="true"> -->
						
<!-- 						<f:validateLongRange  minimum="0" maximum="9999"/> -->
<!-- 					</h:inputText><h:outputText value="笔"> -->
<!-- 					</h:outputText> -->
<!-- 					</ui:fragment> -->
					
<!-- 					<ui:fragment> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					<span style="color: red;">*</span> -->
<!-- 					<h:outputLabel value="逾期次数"></h:outputLabel> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					</ui:fragment> -->
<!-- 					<ui:fragment> -->
<!-- 					<h:inputText label="逾期次数" value="#{loanAdminHome.ext.overdueNum}" required="true"> -->
						
<!-- 						<f:validateLongRange  minimum="0" maximum="9999"/> -->
<!-- 					</h:inputText><h:outputText value="次"> -->
<!-- 					</h:outputText> -->
<!-- 					</ui:fragment> -->
					
<!-- 					<ui:fragment> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					<span style="color: red;">*</span> -->
<!-- 					<h:outputLabel value="借款总额"></h:outputLabel> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					</ui:fragment> -->
<!-- 					<ui:fragment> -->
<!-- 					<h:inputText label="借款总额" value="#{loanAdminHome.ext.totalBorrowing}" maxlength="25" required="true"> -->
						
<!-- 						<archer:validateNumber precision="2"></archer:validateNumber> -->
<!-- 						<f:validateDoubleRange minimum="0"></f:validateDoubleRange> -->
<!-- 					</h:inputText><h:outputText value="元"> -->
<!-- 					</h:outputText> -->
<!-- 					</ui:fragment> -->
					
<!-- 					<ui:fragment> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					<span style="color: red;">*</span> -->
<!-- 					<h:outputLabel value="待还本息"></h:outputLabel> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					</ui:fragment> -->
<!-- 					<ui:fragment> -->
<!-- 					<h:inputText label="待还本息" value="#{loanAdminHome.ext.repayMoney}" maxlength="25" required="true"> -->
						
<!-- 						<archer:validateNumber precision="2"></archer:validateNumber> -->
<!-- 						<f:validateDoubleRange minimum="0"></f:validateDoubleRange> -->
<!-- 					</h:inputText><h:outputText value="元"> -->
<!-- 					</h:outputText> -->
<!-- 					</ui:fragment> -->
					
<!-- 					<ui:fragment> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					<span style="color: red;">*</span> -->
<!-- 					<h:outputLabel value="逾期金额"></h:outputLabel> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					</ui:fragment> -->
<!-- 					<ui:fragment> -->
<!-- 					<h:inputText label="逾期金额" value="#{loanAdminHome.ext.overdueMoney}" maxlength="25" required="true"> -->
						
<!-- 						<archer:validateNumber precision="2"></archer:validateNumber> -->
<!-- 						<f:validateDoubleRange minimum="0"></f:validateDoubleRange> -->
<!-- 					</h:inputText><h:outputText value="元"> -->
<!-- 					</h:outputText> -->
<!-- 					</ui:fragment> -->
					
<!-- 					<ui:fragment> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					<span style="color: red;">*</span> -->
<!-- 					<h:outputLabel value="严重逾期"></h:outputLabel> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					</ui:fragment> -->
<!-- 					<ui:fragment> -->
<!-- 					<h:inputText label="严重逾期" value="#{loanAdminHome.ext.severeOverdueMoney}" maxlength="25" required="true"> -->
						
<!-- 						<archer:validateNumber precision="2"></archer:validateNumber> -->
<!-- 						<f:validateDoubleRange minimum="0"></f:validateDoubleRange> -->
<!-- 					</h:inputText><h:outputText value="元"> -->
<!-- 					</h:outputText> -->
<!-- 					</ui:fragment> -->
					
<!-- 					<ui:fragment> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					<span style="color: red;">*</span> -->
<!-- 					<h:outputLabel value="信用额度"></h:outputLabel> -->
<!-- 					&#160;&#160;&#160;&#160;&#160; -->
<!-- 					</ui:fragment> -->
<!-- 					<ui:fragment> -->
<!-- 					<h:inputText label="信用额度" value="#{loanAdminHome.ext.creditMoney}" maxlength="25" required="true"> -->
						
<!-- 						<archer:validateNumber precision="2"></archer:validateNumber> -->
<!-- 						<f:validateDoubleRange minimum="0"></f:validateDoubleRange> -->
<!-- 					</h:inputText><h:outputText value="元"> -->
<!-- 					</h:outputText> -->
<!-- 					</ui:fragment> -->
					
<!-- 				</h:panelGrid> -->
<!-- 				<br/> -->
<!-- 				<br/> -->
					
					<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160;
				审核记录</h:panelGrid>
				<br/>
				<br/>
				<h:panelGrid columns="6" columnClasses="col2,col2" style="text-align: left;">
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="身份认证"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.ext.idCert}" required="true" label="身份认证">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="信用报告"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.ext.creditReport}" required="true" label="信用报告">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="工作证明"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.ext.workCert}" required="true" label="工作证明">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="房产证明"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.ext.houseCert}" required="true" label="房产证明">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="收入证明"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.ext.incomeCert}" required="true" label="收入证明">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="实地证明"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.ext.spotCert}" required="true" label="实地证明">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 				</h:panelGrid>
 				<br/>
				<br/>
				<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160;
				合同图片</h:panelGrid>
				<br/>
				<br/>
				<iframe name="neepage" marginwidth="0" marginheight="0" src="/multiUploadExtCon" width="60%" height="200" id="conpicext"></iframe>
				<br/>
				<h:panelGrid columns="2" columnClasses="col2,col2" style="text-align: left;">
				<input type="button"  onclick="var flagx=document.getElementById('conpicext').contentWindow.multiUpload();if(flagx){this.disabled=true;this.style.background='#aaaaaa';}"
				value="上传所有图片" class="upbuttonx" />
				<ui:fragment>
				&#160;&#160;&#160;&#160;&#160;<span style="color: red;">*选择好图片后请点击上传按钮以上传文件,一经上传不可更改</span>
				<br/>
				&#160;&#160;&#160;&#160;&#160;<span style="color: red;">&#160;图片上显示“-”表示该图片未上传，显示“x”表示该图片上传不成功</span>
				<!-- <input type="button"  onclick="document.getElementById('carpic').contentWindow.location.reload();"
				value="清空" class="upbuttonxx" /> -->
				</ui:fragment>
				</h:panelGrid>
					
					<!-- <h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160;
				审核时间</h:panelGrid>
				<br/>
				<br/>
				<h:panelGrid columns="4" columnClasses="col2,col2" style="text-align: left;">
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="初审时间"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
				</ui:fragment>
				<ui:fragment>
					<p:calendar value="#{loanAdminHome.ext.firstTime}" required="true" label="初审时间"
						pattern="yyyy-MM-dd HH:mm:ss" timeZone="GMT+8" navigator="true"
						showButtonPanel="true" readonlyInput="true"> 
					</p:calendar>
				</ui:fragment>
				
				<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="复审时间"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
				</ui:fragment>
				<ui:fragment>
					<p:calendar value="#{loanAdminHome.ext.secondTime}" required="true" label="复审时间"
						pattern="yyyy-MM-dd HH:mm:ss" timeZone="GMT+8" navigator="true"
						showButtonPanel="true" readonlyInput="true"> 
					</p:calendar>
				</ui:fragment>
				
				
				<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="实地验证时间"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
				</ui:fragment>
				<ui:fragment>
					<p:calendar value="#{loanAdminHome.ext.thirdTime}" required="true" label="实地验证时间"
						pattern="yyyy-MM-dd HH:mm:ss" timeZone="GMT+8" navigator="true"
						showButtonPanel="true" readonlyInput="true"> 
					</p:calendar>
				</ui:fragment>
				
				
				<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="终审时间"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
				</ui:fragment>
				<ui:fragment>
					<p:calendar value="#{loanAdminHome.ext.endTime}" required="true" label="终审时间"
						pattern="yyyy-MM-dd HH:mm:ss" timeZone="GMT+8" navigator="true"
						showButtonPanel="true" readonlyInput="true"> 
					</p:calendar>
				</ui:fragment>
				
				</h:panelGrid> -->
				</h:panelGroup>
				</h:panelGroup>
				
				<h:panelGroup id="carloan">
				<h:panelGroup id="carloanx" rendered="#{loanAdminHome.instance.loanInfoType == '6'}">
					<br/>
					<br/>
				<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160;
				借款人基本信息</h:panelGrid>
				<br/>
				<br/>
				<h:panelGrid columns="6" columnClasses="col2,col2" style="text-align: left;">
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="用户名"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="借款人用户名" 
						value="#{loanAdminHome.instance.user.username}" maxlength="25">
					</h:inputText>
				
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="真实姓名"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="借款人姓名" 
						value="#{loanAdminHome.instance.user.realname}" maxlength="25">
					</h:inputText>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="身份证号码"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="身份证号码" 
						value="#{loanAdminHome.instance.user.idCard}" maxlength="25">
					</h:inputText>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="性别"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.sex}" required="true" label="性别">
   						<f:selectItem itemLabel="男" itemValue="0"/>
   						<f:selectItem itemLabel="女" itemValue="1"/>
 					</h:selectOneRadio>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="年龄"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="年龄"
						value="#{loanAdminHome.car.age}">
						
						<f:validateLongRange maximum="120" minimum="0"/>
					</h:inputText>
					
					<ui:fragment></ui:fragment>
					<ui:fragment></ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="学历"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneMenu  value="#{loanAdminHome.car.edu}"  label="学历" required="true">
						<f:selectItem itemLabel=" -- 请选择学历 -- " />
						<f:selectItem itemLabel="初中" itemValue="0"/>
						<f:selectItem itemLabel="中技" itemValue="1"/>
						<f:selectItem itemLabel="高中" itemValue="2"/>
						<f:selectItem itemLabel="中专" itemValue="3"/>
						<f:selectItem itemLabel="大专" itemValue="4"/>
						<f:selectItem itemLabel="本科" itemValue="5"/>
						<f:selectItem itemLabel="硕士" itemValue="6"/>
						<f:selectItem itemLabel="博士" itemValue="7"/>
					</h:selectOneMenu>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="婚姻状况"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneMenu  value="#{loanAdminHome.car.marriage}"  label="婚姻状况" required="true">
						<f:selectItem itemLabel=" -- 请选择婚姻状况 -- " />
						<f:selectItem itemLabel="未婚" itemValue="0"/>
						<f:selectItem itemLabel="已婚" itemValue="1"/>
						<f:selectItem itemLabel="离异" itemValue="2"/>
						<f:selectItem itemLabel="丧偶" itemValue="3"/>
					</h:selectOneMenu>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="户籍"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText label="户籍" value="#{loanAdminHome.car.census}" maxlength="100">
					</h:inputText>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="涉诉情况"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.lawsuit}" required="true" label="涉诉情况">
   						<f:selectItem itemLabel="无涉诉" itemValue="0"/>
   						<f:selectItem itemLabel="有涉诉" itemValue="1"/>
 					</h:selectOneRadio>
					
				<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="征信记录"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
				</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.credit}" required="true" label="征信记录">
   						<f:selectItem itemLabel="无不良征信" itemValue="0"/>
   						<f:selectItem itemLabel="有不良征信" itemValue="1"/>
 					</h:selectOneRadio>
					
				</h:panelGrid>
				<h:panelGrid columns="4" columnClasses="col2,col2" style="text-align: left;">
					
 				<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="房产情况"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
				</ui:fragment>
					<h:inputTextarea value="#{loanAdminHome.car.house}"
						style="width:450px;height: 60px;" id="carhouse"></h:inputTextarea>
					<p:watermark for="carhouse" value="请控制内容不少于10字，不多于1000字"></p:watermark>
					</h:panelGrid>
					<br/>
					<br/>
					
					<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160;
				车辆登记信息</h:panelGrid>
				<br/>
				<br/>
				<h:panelGrid columns="6" columnClasses="col2,col2" style="text-align: left;">
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="车辆类型"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="车辆类型"
						value="#{loanAdminHome.car.drivingCard}" maxlength="50">
					</h:inputText>
				
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="车牌号"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="车牌号"
						value="#{loanAdminHome.car.carNo}" maxlength="50">
					</h:inputText>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="车辆识别码"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="车辆识别码"
						value="#{loanAdminHome.car.vehicleNumber}" maxlength="100">
					</h:inputText>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="发动机号"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="发动机号"
						value="#{loanAdminHome.car.engineNumber}" maxlength="100">
					</h:inputText>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="车辆所有人"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="车辆所有人"
						value="#{loanAdminHome.car.carOwner}" maxlength="100">
					</h:inputText>
					
					</h:panelGrid>
					<h:panelGrid columns="4" columnClasses="col2,col2" style="text-align: left;">
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:outputLabel value="住址"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
				</ui:fragment>
					<h:inputTextarea value="#{loanAdminHome.car.address}"
						style="width:450px;height: 60px;" id="caraddress"></h:inputTextarea>
 					<p:watermark for="caraddress" value="请控制内容不少于10字，不多于1000字"></p:watermark>
				</h:panelGrid>
				
				<br/>
				<br/>
					
					<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160;
				车辆基本信息</h:panelGrid>
				<br/>
				<br/>
				<h:panelGrid columns="6" columnClasses="col2,col2" style="text-align: left;">
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="车辆品牌"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="车辆品牌"
						value="#{loanAdminHome.car.carBrand}" maxlength="100">
					</h:inputText>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="车辆型号"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:inputText required="true" label="车辆型号"
						value="#{loanAdminHome.car.carModel}" maxlength="100">
					</h:inputText>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="车辆排量"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<ui:fragment>
					<h:inputText required="true" label="车辆排量"
						value="#{loanAdminHome.car.displacement}" maxlength="100">
					</h:inputText>
					</ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="购买时间"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<ui:fragment>
					<h:inputText required="true" label="购买时间" id="carbuytime"
						value="#{loanAdminHome.car.buyTime}" maxlength="100">
					</h:inputText>
					<p:watermark for="carbuytime" value="格式：xxxx年xx月xx日"></p:watermark>
					</ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="购买价格"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<ui:fragment>
					<h:inputText required="true" label="购买价格" id="buyMoney"
						value="#{loanAdminHome.car.buyMoney}" maxlength="100">
					</h:inputText>
					<p:watermark for="buyMoney" value="格式：xx万元"></p:watermark>
					</ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="上牌时间"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<ui:fragment>
					<h:inputText required="true" label="上牌时间" id="carregistertime"
						value="#{loanAdminHome.car.registerTime}" maxlength="100">
					</h:inputText>
					<p:watermark for="carregistertime" value="格式：xxxx年xx月xx日"></p:watermark>
					</ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="行驶里程"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<ui:fragment>
					<h:inputText required="true" label="行驶里程" id="mileage"
						value="#{loanAdminHome.car.mileage}" maxlength="100">
					</h:inputText>
					<p:watermark for="mileage" value="格式：xx公里"></p:watermark>
					</ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="事故历史"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.accident}" required="true" label="事故历史">
   						<f:selectItem itemLabel="无" itemValue="0"/>
   						<f:selectItem itemLabel="有" itemValue="1"/>
 					</h:selectOneRadio>
					</ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="估值"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<ui:fragment>
					<h:inputText required="true" label="估值" id="valuation"
						value="#{loanAdminHome.car.valuation}" maxlength="100">
					</h:inputText>
					<p:watermark for="valuation" value="格式：xx万元"></p:watermark>
					</ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="年检到期"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<ui:fragment>
					<h:inputText required="true" label="年检到期" id="carsurveytime"
						value="#{loanAdminHome.car.surveyTime}" maxlength="100">
					</h:inputText>
					<p:watermark for="carsurveytime" value="格式：xxxx年xx月xx日"></p:watermark>
					</ui:fragment>
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="交强险时间"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<ui:fragment>
					<h:inputText required="true" label="交强险时间" id="carstrongtime"
						value="#{loanAdminHome.car.strongTime}" maxlength="100">
					</h:inputText>
					<p:watermark for="carstrongtime" value="格式：xxxx年xx月xx日"></p:watermark>
					</ui:fragment>
				</h:panelGrid>
				
				<br/>
				<br/>
					
					<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160;
				借款人认证</h:panelGrid>
				<br/>
				<br/>
				<h:panelGrid columns="6" columnClasses="col2,col2" style="text-align: left;">
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="身份证认证"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkIdCard}" required="true" label="身份证认证">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio> 
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="户口认证"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkHousehold}" required="true" label="户口认证">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="亲属调查"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkFamily}" required="true" label="亲属调查">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					
 					<!-- <ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="结婚证认证"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkMarriageCard}" required="true" label="结婚证认证">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio> -->
 					
 					<ui:fragment>
					
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="驾驶证认证"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkDriving}" required="true" label="驾驶证认证">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					<!-- <ui:fragment></ui:fragment>
 					<ui:fragment></ui:fragment> -->
 					
 					<ui:fragment>
 					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="收入证明"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkIncome}" required="true" label="收入证明">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="工作证明"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkWork}" required="true" label="工作证明">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					
 					<!-- <ui:fragment></ui:fragment>
 					<ui:fragment></ui:fragment> -->
 					
 					<ui:fragment>
 					
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="手机通话清单"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkPhone}" required="true" label="手机通话清单">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="银行卡流水"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkBank}" required="true" label="银行卡流水">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 				<!-- 	<ui:fragment></ui:fragment>
 					<ui:fragment></ui:fragment> -->
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="征信报告"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkCredit}" required="true" label="征信报告">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
				
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="在执案件查询"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkAbout}" required="true" label="在执案件查询">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 				</h:panelGrid>
 				<br/>
				<br/>
					
					<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160;
				质（抵）押物认证</h:panelGrid>
				<br/>
				<br/>
				<h:panelGrid columns="6" columnClasses="col2,col2" style="text-align: left;">
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					
					<span style="color: red;">*</span>
					<h:outputLabel value="机动车登记证书"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkCarNo}" required="true" label="机动车登记证书">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="车辆行驶证"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkLicense}" required="true" label="车辆行驶证">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					
					&#160;&#160;&#160;&#160;&#160;
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="购车发票"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkCarInvoice}" required="true" label="购车发票">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="保证凭证"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkGuarantee}" required="true" label="保证凭证">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="购置税凭证"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkPurchaseTax}" required="true" label="购置税凭证">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					<ui:fragment></ui:fragment>
 					<ui:fragment></ui:fragment>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="车辆评估报告"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkCarEvaluate}" required="true" label="车辆评估报告">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
 					
 					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span>
					<h:outputLabel value="车辆保险单"></h:outputLabel>
					&#160;&#160;&#160;&#160;&#160;
					</ui:fragment>
					<h:selectOneRadio value="#{loanAdminHome.car.chkPolicy}" required="true" label="车辆保险单">
   						<f:selectItem itemLabel="通过" itemValue="0"/>
   						<f:selectItem itemLabel="未通过" itemValue="1"/>
   						<f:selectItem itemLabel="无" itemValue="2"/>
 					</h:selectOneRadio>
				
				</h:panelGrid>
				
				<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160;
				车辆图片</h:panelGrid>
				<br/>
				<br/>
				<iframe name="neepage" marginwidth="0" marginheight="0" src="/multiUpload" width="60%" height="200" id="carpic"></iframe>
				<br/>
				<h:panelGrid columns="2" columnClasses="col2,col2" style="text-align: left;">
				<input type="button"  onclick="var flag=document.getElementById('carpic').contentWindow.multiUpload();if(flag){this.disabled=true;this.style.background='#aaaaaa';}"
				value="上传所有图片" class="upbuttonx" />
				<ui:fragment>
				&#160;&#160;&#160;&#160;&#160;<span style="color: red;">*选择好图片后请点击上传按钮以上传文件,一经上传不可更改</span>
				<br/>
				&#160;&#160;&#160;&#160;&#160;<span style="color: red;">&#160;图片上显示“-”表示该图片未上传，显示“x”表示该图片上传不成功</span>
				<!-- <input type="button"  onclick="document.getElementById('carpic').contentWindow.location.reload();"
				value="清空" class="upbuttonxx" /> -->
				</ui:fragment>
				</h:panelGrid>
				<br/>
				<br/>
				<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160;
				合同图片</h:panelGrid>
				<br/>
				<br/>
				<iframe name="neepage" marginwidth="0" marginheight="0" src="/multiUploadCarCon" width="60%" height="200" id="conpic"></iframe>
				<br/>
				<h:panelGrid columns="2" columnClasses="col2,col2" style="text-align: left;">
				<input type="button"  onclick="var flagx=document.getElementById('conpic').contentWindow.multiUpload();if(flagx){this.disabled=true;this.style.background='#aaaaaa';}"
				value="上传所有图片" class="upbuttonx" />
				<ui:fragment>
				&#160;&#160;&#160;&#160;&#160;<span style="color: red;">*选择好图片后请点击上传按钮以上传文件,一经上传不可更改</span>
				<br/>
				&#160;&#160;&#160;&#160;&#160;<span style="color: red;">&#160;图片上显示“-”表示该图片未上传，显示“x”表示该图片上传不成功</span>
				<!-- <input type="button"  onclick="document.getElementById('carpic').contentWindow.location.reload();"
				value="清空" class="upbuttonxx" /> -->
				</ui:fragment>
				</h:panelGrid>
				<br/>
				<br/>
				
				</h:panelGroup>
				</h:panelGroup>
				<h:panelGroup id="euroCup">
				<h:panelGroup id="euroCupx" rendered="#{loanAdminHome.instance.loanInfoType == '7'}">
					<br/>
					<br/>
					<h:panelGrid columns="1" columnClasses="headline">&#160;&#160;&#160;&#160;&#160;
					球队信息</h:panelGrid>
					<br/>
					<br/>
					<h:panelGrid columns="2" columnClasses="col2,col2" style="text-align: left;">
					
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span><h:outputLabel value="主队名称"></h:outputLabel>
					</ui:fragment>
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:selectOneMenu value="#{loanAdminHome.euroCup.teamName}">
						<f:selectItem itemLabel="---请选择---" itemValue=""></f:selectItem>
						<f:selectItems value="#{euroCupGuessUtil.teams.keySet()}" var="team" 
							itemLabel="#{team}" itemValue="#{team}"></f:selectItems>
					</h:selectOneMenu>
					</ui:fragment>
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<span style="color: red;">*</span><h:outputLabel value="客队名称"></h:outputLabel>
					</ui:fragment>
					<ui:fragment>
					&#160;&#160;&#160;&#160;&#160;
					<h:selectOneMenu value="#{loanAdminHome.euroCup.teamName2}">
						<f:selectItem itemLabel="---请选择---" itemValue=""></f:selectItem>
						<f:selectItems value="#{euroCupGuessUtil.teams.keySet()}" var="team" 
							itemLabel="#{team}" itemValue="#{team}"></f:selectItems>
					</h:selectOneMenu>
					</ui:fragment>
					
					</h:panelGrid>
				</h:panelGroup>
				</h:panelGroup>
				<br/>
				<br/>
					<h:panelGrid columns="1" columnClasses="actionlabel">
					 <ui:fragment>
						<p:commandButton action="#{loanAdminHome.createAdminLoan}"
							value="#{commonMsg.saveLabel}" id="saveBtn" styleClass="buttonx" >
						</p:commandButton>
						&#160;&#160;&#160;&#160;&#160;
						<p:commandButton update="@all" type="reset"
                        value="#{commonMsg.resetLabel}" onclick="location.reload();return;" styleClass="buttonxx"></p:commandButton>
					</ui:fragment>
				</h:panelGrid>
				

			</h:form>
			<p:spacer />
		</div>
	</ui:define>
</ui:composition>

